package com.nameless.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nameless.entity.CarType;
import com.nameless.vo.CarTypeVo;
import com.nameless.vo.Result;

import java.util.List;


/**
 * @author ：潘淼淼
 * @date ：Created in 2023/2/27 9:34
 * @description：
 * @modified By：
 * @version:
 */
public interface CarTypeService extends IService<CarType> {
//    Result queryCarType(Integer pageNum,Integer pageSize);
//查询所有
    Result selectList(CarTypeVo carTypeVo);

    Result updates(CarType carType);

    Result deleteById(Integer id);

    Result addOne(CarType carType);

    Result selectLis();
    CarType getTypeName(Integer carId);
}